<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <title>模板H5应用</title>
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <link rel="stylesheet" href="/lobsteruiframe/weui/css/weui.css" />
    <link rel="stylesheet" href="/lobsteruiframe/weui/css/weuix.css" />
    <script src="/lobsteruiframe/weui/js/zepto.min.js"></script>
    <script src="/lobsteruiframe/weui/js/zepto.weui.js"></script>
    <script src="/lobsteruiframe/weui/js/swipe.js"></script>
    <script src="/lobsteruiframe/weui/js/macy.js"></script>
    <script src="/lobsteruiframe/weui/js/php.js"></script>
    <script src="/jslib/lobster.js"></script>
    <script src="js/formlist.js"></script>
    <style>
        .booklist {
            display: flex;
            flex-wrap: wrap;
        }

        .demo {
            border-radius: 3px;
            overflow: hidden;
            text-align: center;
            background-color: white;
            display: flex;
            flex-direction: column;
            justify-content: center;
            font-size: 14px;
            align-items: center;
            padding: 10px 0;
            width: 50%;
        }

        .demo-image {
            display: inline-block;
            width: 100px;
            max-width: 100px;
            height: auto;
        }
    </style>
</head>

<body ontouchstart>
    <!-- 瀑布流 -->
    <div class="page-bd-15" style="background-color: #F8F8F8;padding: 15px">
        <!-- <div id="macy"> -->
        <div class="booklist" id="formlist">
        </div>
        <div class="weui-loadmore" id="more">
            <i class="weui-loading"></i>
            <span class="weui-loadmore__tips">正在加载</span>
        </div>
    </div>
</body>

</html>

<script id="tpl" type="text/html">
    <% for(var i in list) { %>
        <div class="demo" formid="<%=list[i].Id%>">
            <img src="<%=list[i].HeadPic%>" class="demo-image">
            <span style="text-align: center;">
            <%=list[i].Title%>
        </span>
        </div>
        <% } %>
</script>